$OpenBSD: patch-libsrc_Wi_bif_file_c,v 1.1.1.1 2013/04/22 17:32:31 zhuk Exp $
--- libsrc/Wi/bif_file.c.orig	Thu Mar  8 20:17:27 2012
+++ libsrc/Wi/bif_file.c	Wed Jul  4 00:54:35 2012
@@ -6195,7 +6195,7 @@ signal_error:
 }
 
 
-#if defined(__APPLE__) || defined(__FreeBSD__)
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__)
 #define fseeko64 fseeko
 #define ftello64 ftello
 #define fopen64  fopen
